Name | player logs in for the first time |
Event Lines | player logs in (for the first time)
player (first) login |
Triggers | when a player logs in to the server. This is during the authentication process, and should NOT be confused with player joins. |
Generated Examples | after player logs in:
after player login: |
Has Player | Always. - this adds switches 'flagged:<flag name>' + 'permission:<node>', in addition to the '<player>' link. |
Contexts | <context.hostname> returns an ElementTag of the player's IP address.
<context.server_hostname> returns an ElementTag of the server address that the player used to connect to the server.
|
Determine | "KICKED" to kick the player from the server.
"KICKED:<ElementTag>" to kick the player and specify a message to show. |
Group | Player |
Warning(s) | Generally avoid this event. This is not a way to get a 'first join' event. This is an internal technical event, with specific uses (eg custom whitelisting). |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/player/PlayerLoginScriptEvent.java#L17 |